package com.javatoc.compress.toinvoke;

public class CompressMoveMain {

	static {
		try {
			System.out.println("load lib info:" + System.getProperty("java.library.path"));
			System.loadLibrary("compressMove");
			System.out.println("load lib info over!");
		} catch (UnsatisfiedLinkError e) {
			System.out.println("Cannot load hello library:\n " + e.toString());
		}
	}

	public static void main(String[] args) {

		compressMove zcv = new compressMove();

		zcv.ZcvZipInit();
		int hndl = zcv.ZcvZipCreate();
		zcv.ZcvZipProcess(hndl, "/root/oscompress/movecompress/in/in.mp4", "/root/oscompress/movecompress/out/out.mp4", -1, -1, 100, 6, 32, -1, -1, -1);
		zcv.ZcvZipRelease(hndl);
		zcv.ZcvZipDeInit();
		
		System.out.println("CompressMoveMain compress over");
	}

}
